package com.sso.entity;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

/**
 * 角色表
 * @author lulei
 *
 */
@Entity
@Table(name = "sso_DicSysRole")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
@NamedQueries( { @NamedQuery(name = "dsr.getDicSysRole", query = "from DicSysRole order by roleName desc") })
public class DicSysRole {
	
	/**
	 * 角色ID
	 */
	@Id
	private String roleID;
	
	/**
	 * 名称
	 */
	private String roleName;
	
	/**
	 * 系统标识
	 */
	private String systemID;

	public String getRoleID() {
		return roleID;
	}

	public void setRoleID(String roleID) {
		this.roleID = roleID;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getSystemID() {
		return systemID;
	}

	public void setSystemID(String systemID) {
		this.systemID = systemID;
	}

	
}
